﻿[[title="系统词典编辑",pagesize="20",orderby="",condition=""]]
<script language="javascript" type="text/javascript">
    function changeWindowSize() {
        wmsCommon.setListDivStyle("listDiv", 1);
    }

    $(function () {
        wmsCommon.setListDivStyle("listDiv", 1);
    });
</script>
<table class="listMainTable" height="100%" cellpadding="0" cellspacing="0">
    <tr>
        <td style="height: 40px">
            <table cellspacing="0" cellpadding="0" class="TblSearchPanel">
                <tr>
                    <td class="TblSearchPanel_01">
                    </td>
                    <td class="TblSearchPanel_02">
                        <div class="DivSearchTitle" style="float: left;">
                            查询条件</div>
                        <img alt="点此隐藏或显示搜索区域" id="Image2" src="res/images/display.gif" class="ImgSearch"
                            onclick="wmsCommon.searchContentCtr()" />
                    </td>
                    <td class="TblSearchPanel_03">
                    </td>
                </tr>
                <tr>
                    <td class="TblSearchPanel_04">
                    </td>
                    <td>
                        <!-- search content start -->
                        <table id="tblSearch" class="SearchTable">
                            <tr>
                                <td style="text-align: left; width: 100%;">
                                    <table style="width: auto;">
                                        <tr>
                                            <td class="tdright">
                                                $sys_dictionary_items.Columns.get_Item("dictName").DisplayName：
                                            </td>
                                            <td class="tdleft">
                                                $sys_dictionary_items.Columns.get_Item("dictName").RenderAsQuery()
                                            </td>
                                            <td class="tdright">
                                                $sys_dictionary_items.Columns.get_Item("dictValueQuery").DisplayName：
                                            </td>
                                            <td class="tdleft">
                                                $sys_dictionary_items.Columns.get_Item("dictValueQuery").RenderAsQuery()
                                            </td>
                                            <td class="tdright">
                                             
                                            </td>
                                            <td class="tdleft">
                                             
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="vertical-align: bottom;">
                                    <div style="width: 100%">
                                        $render.RenderButton()
                                    </div>
                                </td>
                            </tr>
                        </table>
                        <!-- search content end-->
                    </td>
                    <td class="TblSearchPanel_06">
                    </td>
                </tr>
                <tr>
                    <td class="TblSearchPanel_07">
                    </td>
                    <td class="TblSearchPanel_08">
                    </td>
                    <td class="TblSearchPanel_09">
                    </td>
                </tr>
            </table>
            <!--list content start-->
        </td>
    </tr>
    <tr>
        <td style="height: 20px;">
            <!--button content start-->
            <table class="controlContent" cellpadding="0" cellspacing="0">
                <tr class="rowEven">
                    <td style="text-align: right;">
                        $render.RenderButton("text=词典名称维护;displayType=button;actionType=new;clientMethod=wmsCommon.openWin('model.aspx?model=sys_dictionary&temp=sys_dictionary_list','1024','650');")
                        $render.RenderButton(" text=新增; displayType=button; actionType=new; clientMethod=wmsCommon.openAddWin('sys_dictionary_items','sys_dictionary_items_edit','600','400','');")
                        $render.RenderButton(" text=删除; displayType=button ; actionType=delete; clientMethod=wmsCommon.deleteRecords('contenttb','sys_dictionary_items');")
                    </td>
                </tr>
            </table>
            <!--button content end-->
        </td>
    </tr>
    <!--list content start-->
    <tr>
        <td style="vertical-align: text-top;" id="listTd" onresize="changeWindowSize()">
            <div id="listDiv" class="listDivStyle">
                <table id="contenttb" cellpadding="0" cellspacing="0" class="tblList">
                    <tr class="FixedTitleRow">
                        <th>
                            <span style="cursor: hand" onclick="wmsCommon.checkedAll('contenttb')">选择</span>
                        </th>
                        <th style="width: 30px">
                            $sys_dictionary_items.Columns.get_Item("ROWNUM").Render()
                        </th>
                        <th>
                            $sys_dictionary_items.Columns.get_Item("displayName").Render()
                        </th>
                        <th>
                            $sys_dictionary_items.Columns.get_Item("dictKey").Render()
                        </th>
                        <th>
                            $sys_dictionary_items.Columns.get_Item("dictValue").Render()
                        </th>
                        <th>
                            $sys_dictionary_items.Columns.get_Item("dictText").Render()
                        </th>
                        <th style="width: auto;">
                            操作
                        </th>
                    </tr>
                    #foreach($row in $sys_dictionary_items.Rows)
                    <tr keyvalue="$row.RenderKeyValue()" onmouseout="wmsCommon.onMouseOut(this)" onmouseover="wmsCommon.onMouseOver(this)">
                        <td>
                            <input style="cursor: hand; border: 0" type="checkbox" />
                        </td>
                        <td style="width: 30px">
                            $row.get_Item("ROWNUM").Render()
                        </td>
                        <td>
                            $row.get_Item("displayName").Render()
                        </td>
                        <td style="text-align:center">
                            $row.get_Item("dictKey").Render()
                        </td>
                        <td>
                            $row.get_Item("dictValue").Render()
                        </td>
                        <td>
                            $row.get_Item("dictText").Render()
                        </td>
                        <td style="width: auto;text-align:right">
                            $render.RenderButton("text=修改; displayType=button; actionType=modify; clientMethod=wmsCommon.openModifyWin(this,'sys_dictionary_items','sys_dictionary_items_edit',600,400);")
                        </td>
                    </tr>
                    #end
                </table>
            </div>
        </td>
    </tr>
    <!-- list content end-->
    <tr>
        <td style="height: 20px; vertical-align: text-bottom">
            <div style="height: 20px; background-color: rgb(233, 231, 215); text-align: center;
                vertical-align: bottom">
                $render.RenderPaging($sys_dictionary_items)
            </div>
        </td>
    </tr>
</table>
